import request from '@/utils/request'

// 获取应发、实发数据
export function getSalaryList(query) {
  return request({
    url: '/salaryHistoryController/getSalaryList',
    method: 'get',
    params: query
  })
}

// 确认
export function confirmSalary(data) {
  return request({
    url: '/agencyVerifyController/updateSalaryVerify',
    method: 'post',
    data
  })
}

// 撤销确认
export function undoConfirmSalary(data) {
  return request({
    url: '/agencyVerifyController/sendBackSalaryVerify',
    method: 'post',
    data
  })
}

// 退回
export function sendBackSalary(data) {
  return request({
    url: '/agencyVerifyController/sendBackSalaryVerify1',
    method: 'post',
    data
  })
}

export function queryUnitReportPage(queryForm) {
  return request({
    url: '/agencyVerifyController/queryUnitReportPage',
    method: 'get',
    params: queryForm
  })
}
// 人员检测
export function get_persontest_list(queryForm) {
  return request({
    url: 'agencyVerifyController/selectOverlapPersionInfo',
    method: 'get',
    params: queryForm
  })
}

// 自动上报
export function autoSubmit(data) {
  return request({
    url: '/AutoSubmitController/autoSubmit',
    method: 'post',
    data
  })
}
//调出未调入检测
export function getpersonTransferList() {
  return request({
    url: '/agencyVerifyController/getpersonTransferList',
    method: 'get',
  })
}

//查询bizKey
export function auditLog(queryForm) {
  return request({
    url: '/salaryHistoryController/auditLog',
    method: 'get',
    params: queryForm
  })
}
